/*
 * vws_macro-inl.h
 *
 *  Created on: Sep 20, 2013
 *      Author: vscen
 */

#ifndef VWS_MACRO_INL_H_
#define VWS_MACRO_INL_H_

#include "vws_logger-inl.h"

namespace vws {
//DEBUG(DBG_DEBUG, "hello " << "world");
#define DEBUG(priority, msg) { \
	std::ostringstream __debug_stream__; \
	__debug_stream__ << msg; \
	vws::vws_logger::getInstance().print(priority, __FILE__, __LINE__, \
			__debug_stream__.str()); \
	}
}

#endif /* VWS_MACRO_INL_H_ */
